package fuzzy.penelope.model.memento {

	public class Originator
	{
		public function Originator()
		{
		}
		
		private var state:String;
		
		public function setState(val:String):void{
			this.state = val;
		}
		
		public function createMemento():Memento{
			return new Memento(state);
		}
		
		public function setMemento(val:Memento):void{
			state = val.getState();
		}
		
		
		
	}
}